package com.woniuxy.table.client;

import com.woniuxy.table.client.param.LoadAllDiningAreaParam;
import com.woniuxy.table.client.result.DiningAreaClientDto;
import common.WoniuPage;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.cloud.openfeign.SpringQueryMap;
import org.springframework.web.bind.annotation.GetMapping;
import result.Result;

@FeignClient(contextId = "diningAreaQueryClient",name="table")
public interface DiningAreaQueryClient {
    @GetMapping("/loadAllDiningArea")
    public Result<WoniuPage<DiningAreaClientDto>> loadAllDiningArea(@SpringQueryMap LoadAllDiningAreaParam loadAllDiningAreaParam);
}
